package com.submit.demo.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Document(collection = "LoginLog")
@Data
public class LoginLog {
    @Id
    private String id;

    private Integer roleId;

    private String userId;

    private Date createTime;

    private String ip;

    private String address;

    private String userAgent;
}